let bags = [{
        "capacity": 200.0,
        "id": 94,
        "soundType": 0,
        "hint": 0,
        "price": 0,
        "weight": 0.5,
        "firerate": 40,
        "spawnDay": 0,
        "rareColor": 0,
        "improRecipes": [],
        "sellable": false,
        "buffetGame": false,
        "buffetDifficulty": 0,
        "notForFire": false,
        "isPermanent": false,
        "subCategory": 0,
        "questType": 0,
        "titleKey": 0,
        "descriptionKey": 0,
        "index": 10000,
        "heavyItem": false,
        "hardItem": false,
        "salvageTableID": 0
    },
    {
        "capacity": 200.0,
        "id": 95,
        "soundType": 0,
        "hint": 0,
        "price": 0,
        "weight": 0.5,
        "firerate": 100,
        "spawnDay": 0,
        "rareColor": 0,
        "improRecipes": [],
        "sellable": false,
        "buffetGame": false,
        "buffetDifficulty": 0,
        "notForFire": false,
        "isPermanent": false,
        "subCategory": 0,
        "questType": 0,
        "titleKey": 0,
        "descriptionKey": 0,
        "index": 10001,
        "heavyItem": false,
        "hardItem": false,
        "salvageTableID": 0
    },
    {
        "capacity": 10.0,
        "id": 290,
        "soundType": 7,
        "hint": 0,
        "price": 15,
        "weight": 0.3,
        "firerate": 20,
        "spawnDay": 0,
        "rareColor": 0,
        "improRecipes": [],
        "sellable": false,
        "buffetGame": false,
        "buffetDifficulty": 0,
        "notForFire": false,
        "isPermanent": false,
        "subCategory": 0,
        "questType": 0,
        "titleKey": 543,
        "descriptionKey": 544,
        "index": 10002,
        "heavyItem": false,
        "hardItem": false,
        "salvageTableID": 0
    },
    {
        "capacity": 15.0,
        "id": 289,
        "soundType": 7,
        "hint": 0,
        "price": 50,
        "weight": 0.3,
        "firerate": 30,
        "spawnDay": 0,
        "rareColor": 0,
        "improRecipes": [],
        "sellable": false,
        "buffetGame": false,
        "buffetDifficulty": 0,
        "notForFire": false,
        "isPermanent": false,
        "subCategory": 0,
        "questType": 0,
        "titleKey": 541,
        "descriptionKey": 542,
        "index": 10003,
        "heavyItem": false,
        "hardItem": false,
        "salvageTableID": 0
    },
    {
        "capacity": 30.0,
        "id": 291,
        "soundType": 7,
        "hint": 5,
        "price": 130,
        "weight": 0.5,
        "firerate": 40,
        "spawnDay": 0,
        "rareColor": 0,
        "improRecipes": [],
        "sellable": false,
        "buffetGame": true,
        "buffetDifficulty": 1,
        "notForFire": true,
        "isPermanent": false,
        "subCategory": 0,
        "questType": 0,
        "titleKey": 545,
        "descriptionKey": 546,
        "index": 10004,
        "heavyItem": false,
        "hardItem": false,
        "salvageTableID": 10
    },
    {
        "capacity": 50.0,
        "id": 292,
        "soundType": 7,
        "hint": 5,
        "price": 300,
        "weight": 0.5,
        "firerate": 60,
        "spawnDay": 0,
        "rareColor": 0,
        "improRecipes": [],
        "sellable": false,
        "buffetGame": true,
        "buffetDifficulty": 2,
        "notForFire": true,
        "isPermanent": false,
        "subCategory": 0,
        "questType": 0,
        "titleKey": 547,
        "descriptionKey": 548,
        "index": 10005,
        "heavyItem": false,
        "hardItem": false,
        "salvageTableID": 10
    },
    {
        "capacity": 70.0,
        "id": 293,
        "soundType": 7,
        "hint": 0,
        "price": 800,
        "weight": 1.0,
        "firerate": 80,
        "spawnDay": 0,
        "rareColor": 2,
        "improRecipes": [],
        "sellable": false,
        "buffetGame": true,
        "buffetDifficulty": 3,
        "notForFire": true,
        "isPermanent": false,
        "subCategory": 0,
        "questType": 0,
        "titleKey": 549,
        "descriptionKey": 550,
        "index": 10006,
        "heavyItem": false,
        "hardItem": false,
        "salvageTableID": 12
    },
    {
        "capacity": 100.0,
        "id": 294,
        "soundType": 7,
        "hint": 0,
        "price": 2000,
        "weight": 1.0,
        "firerate": 100,
        "spawnDay": 0,
        "rareColor": 3,
        "improRecipes": [],
        "sellable": false,
        "buffetGame": true,
        "buffetDifficulty": 3,
        "notForFire": true,
        "isPermanent": false,
        "subCategory": 0,
        "questType": 0,
        "titleKey": 551,
        "descriptionKey": 552,
        "index": 10007,
        "heavyItem": false,
        "hardItem": false,
        "salvageTableID": 12
    },
    {
        "capacity": 120.0,
        "id": 646,
        "soundType": 7,
        "hint": 0,
        "price": 4000,
        "weight": 1.0,
        "firerate": 100,
        "spawnDay": 0,
        "rareColor": 3,
        "improRecipes": [],
        "sellable": false,
        "buffetGame": true,
        "buffetDifficulty": 3,
        "notForFire": true,
        "isPermanent": false,
        "subCategory": 0,
        "questType": 0,
        "titleKey": 1231,
        "descriptionKey": 1232,
        "index": 10008,
        "heavyItem": false,
        "hardItem": false,
        "salvageTableID": 12
    }
]

console.log(bags.length);